package me.numark.net;

/**
 * Created by tian on 14-9-17:上午7:49.
 */
public class NetworkConstants {

    public static final String BASE_URL = "http://www.noomark.com/v1/";

    public static final String REGISTER_URL = BASE_URL + "auth/registration";

    public static final String LOG_IN_URL = BASE_URL + "auth/login";

    public static final String REGISTER_SMS_URL = BASE_URL + "auth/registration_sms";

    public static final String VERIFY_REGISTER_CODE_URL = BASE_URL + "auth/registration_sms";

    public static final String REGISTER_PASSWORD_URL = BASE_URL + "auth/%s/registration_password";

    public static final String UPDATE_AVATAR_URL = BASE_URL + "auth/%s/update_pic";

    public static final String PROFILE_URL = BASE_URL + "auth/%s/registration_profile";

    public static final String CHANGE_PASSWORD_URL = BASE_URL + "auth/%s/change_password";

    public static final String REGISTER_FAVORITE_URL = BASE_URL + "auth/%s/registration_favorites";

    public static final String REGISTER_FOLLOWS_URL = BASE_URL + "auth/%s/registration_follows";

    public static final String NEWS_TYPES_URL = BASE_URL + "news/types";

    public static final String NEWS_CHANNEL_URL = BASE_URL + "news/%s/index";

    public static final String NEWS_TIMELINE_URL = BASE_URL + "news/%s/timeline";

    public static final String NEWS_HOT_URL = BASE_URL + "news/share_hot";

    public static final String MY_PROFILE_URL = BASE_URL + "account/%s/index";

    public static final String SHARE_COMMENTS_URL = BASE_URL + "news/%s/share_comments";

    public static final String LIKE_URL = BASE_URL + "news/%s/%d/share_like";

    public static final String FORWARD_URL = BASE_URL + "news/%s/timeline";

    public static final String RECOMMEND_URL = BASE_URL + "news/%s/feed";

    public static final String NEW_TWEET_URL = BASE_URL + "news/%s/create";

    public static final String BIND_PUSH_URL = BASE_URL + "push/bind";

    public static final String FOLLOW_URL = BASE_URL + "account/%s/%s/follow";

    public static final String UNFOLLOW_URL = BASE_URL + "account/%s/%s/unfollow";

    public static final String FOLLOWS_URL = BASE_URL + "account/%s/follows";

    public static final String FANS_URL = BASE_URL + "account/%s/fans";

    public static final String MSG_DIALOGS_URL = BASE_URL + "messages/%s/get_dialogs";

    public static final String MSG_UPDATE_URL = BASE_URL + "messages/%s/msg_update";

    public static final String MSG_MESSAGES_URL = BASE_URL + "messages/%s/%d/get_messages";

    public static final String MSG_SEND_URL = BASE_URL + "messages/%s/send";

    public static final String MSG_READ_URL = BASE_URL + "messages/%s/read_dialog";

    public static final String MESSAGE_REMIND_URL = BASE_URL + "account/%s/auth_message_remind";

    public static final String MESSAGE_INTERVAL_URL = BASE_URL + "account/%s/auth_message_interval";

    public static final String BIND_WEIBO_URL = BASE_URL + "account/%s/auth_by_weibo";

    public static final String BIND_QQ_URL = BASE_URL + "account/%s/auth_by_qq";

    public static final String BIND_MOBILE_URL = BASE_URL + "account/%s/auth_by_phone";

    public static final String BIND_EMAIL_URL = BASE_URL + "account/%s/auth_by_email";

    public static final String UPDATE_PROFILE_URL = BASE_URL + "auth/%s/update";

    public static final String MY_FEED_URL = BASE_URL + "news/%s/my_feed";

    public static final String FEED_COMMENT_URL = BASE_URL + "news/%s/%d/share_comment";

    public static final String GET_NEWS_SHARES_URL = BASE_URL + "news/%s/%d/get_news_shares";

    public static final String MY_SHARE_COMMENTS_URL = BASE_URL + "news/%s/my_share_comments";

    public static final String HOT_TOPIC_URL = BASE_URL + "common/0/hot_topic";

    //gender
    public static final int GENDER_MALE = 1;

    public static final int GENDER_FEMALE = 2;

    //user source
    public static final int SOURCE_REGISTERED = 1;

    public static final int SOURCE_WEIBO = 2;

    public static final int SOURCE_QQ = 3;


}
